The function isBig will only return a specific value when its parameter is bigger than
5000. In any other case, it will implicitly return undefined.
This behaviour may not be what you had intended. In any case, you can add a
returnundefined to the other execution path to make the return value
explicit.
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.
There is no return statement in this branch, but you do return something in other branches. Did you maybe miss it? If you do not want to return anything, consider adding return undefined; explicitly.